package bt19022014_congty;

public class NguoiThan {
	private String ten;
	private String namSinh;
	private String quanHe;
	
	public NguoiThan(){
		setTen(null);
		namSinh = null;
		quanHe = null;
	}
	
	public NguoiThan(String ten, String namSinh, String quanHe){
		this.setTen(ten);
		this.namSinh = namSinh;
		this.quanHe = quanHe;
	}

	public void setTen(String ten) {
		this.ten = ten;
	}

	public String getTen() {
		return ten;
	}
	
	protected String getNguoiThan(){
		return ("Ten: "+ten+" | Sinh nam: "+namSinh+" | Quan he: "+quanHe);
	}
}
